package com.yaolin.generator.api.enjoy.mapper;

import java.util.List;

/**
 * 数据库表信息
 * <ol>
 * <li>name [String] 表名</li>
 * <li>remark [String] 备注</li>
 * <li>listColumnDTO [List&lt;Column&gt;] 表字段集合</li>
 * </ol>
 * Created by yaolin on 2017/5/11.
 */
public class TableDTO {
    private String name; // 表名
    private String remark; // 备注
    private List<ColumnDTO> listColumnDTO;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public List<ColumnDTO> getListColumnDTO() {
        return listColumnDTO;
    }

    public void setListColumnDTO(List<ColumnDTO> listColumnDTO) {
        this.listColumnDTO = listColumnDTO;
    }

	@Override
	public String toString() {
		return "TableDTO [name=" + name + ", remark=" + remark + ", listColumnDTO=" + listColumnDTO + "]";
	}
}
